# -*- coding: utf-8 -*-
from django.db.models import permalink
from google.appengine.ext import db

# this need to be refactored to use the User class I believe (now in bvuserapp
class Person(db.Model):
#    """Basic user profile with personal details."""
    first_name = db.StringProperty(required=True)
    last_name = db.StringProperty(required=True)

    @permalink
    def get_absolute_url(self):
        return ('bvapp.views.company_page', (), {'key': self.key()})

class Emails(db.Model):
    subscribedemail = db.StringProperty()


